package com.neuedu.demo2;

public class Test01 {
    public static void main(String[] args) {
        int num=9;
        int flag=0;
        for (int i = 2; i < num+1; i++) {
            int result=num%i;
            if(result==0){
                flag++;
            }
        }
        if(flag==1){
            System.out.println("是");
        }else {
            System.out.println("不是");
        }
    }
}
